Add a check for gpg-error via pkg-config
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 17 Jul 2018 21:33:19 +0000 (22:33 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 18 Jul 2018 01:34:36 +0000 (01:34 +0000)
commit7306577e61563d70eb67240dc275e18006882e53
tree0a32ae53fc750143ba9a972553bedabaf138b95f
parentededa9de416033863e1280d2a068bd52211eae3c
Add a check for gpg-error via pkg-config

Some downstreams — namely, the Yocto Project — ship gpg-error with a
pkg-config file, and modify gpg-error-config to error out when you try
using it instead of pkg-config.

We can check for gpg-error via pkg-config, and if it's not available,
fall back to gpg-error-config.

Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
Closes: #1682
Approved by: cgwalters
configure.ac